Automated management of hypotension